package com.jy.oms.framework.asyn.task.queue.database.entity;

import java.util.Date;
import java.util.List;

public class SysTaskQuery {

    /**
     * 业务组标识
     */
    private String businessGroup;

    /**
     * 任务分组标志
     */
    private String taskGroup;

    /**
     * 任务编码
     */
    private String taskCode;

    private List<String> taskCodes;

    /**
     * 排除的任务编码
     */
    private List<String> excludeTaskCodes;

    private Integer state;

    private List<Integer> states;

    /**
     * 查询开始时间
     */
    private Date startTime;

    /**
     * 查询结束时间
     */
    private Date endTime;

    /**
     * 环境：
     */
    private String envFlag;

    /**
     * 每页查询大小
     */
    private int pageSize = 10;

    private String uuid;

    private String billCode;

    private Long id;

    private List<Long> ids;

    public String getBusinessGroup() {
        return businessGroup;
    }

    public SysTaskQuery setBusinessGroup(String businessGroup) {
        this.businessGroup = businessGroup;
        return this;
    }

    public String getTaskGroup() {
        return taskGroup;
    }

    public void setTaskGroup(String taskGroup) {
        this.taskGroup = taskGroup;
    }

    public String getTaskCode() {
        return taskCode;
    }

    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

    public List<String> getTaskCodes() {
        return taskCodes;
    }

    public SysTaskQuery setTaskCodes(List<String> taskCodes) {
        this.taskCodes = taskCodes;
        return this;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getEnvFlag() {
        return envFlag;
    }

    public void setEnvFlag(String envFlag) {
        this.envFlag = envFlag;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<String> getExcludeTaskCodes() {
        return excludeTaskCodes;
    }

    public SysTaskQuery setExcludeTaskCodes(List<String> excludeTaskCodes) {
        this.excludeTaskCodes = excludeTaskCodes;
        return this;
    }

    public String getUuid() {
        return uuid;
    }

    public SysTaskQuery setUuid(String uuid) {
        this.uuid = uuid;
        return this;
    }

    public List<Integer> getStates() {
        return states;
    }

    public SysTaskQuery setStates(List<Integer> states) {
        this.states = states;
        return this;
    }

    public String getBillCode() {
        return billCode;
    }

    public SysTaskQuery setBillCode(String billCode) {
        this.billCode = billCode;
        return this;
    }

    public Long getId() {
        return id;
    }

    public SysTaskQuery setId(Long id) {
        this.id = id;
        return this;
    }

    public List<Long> getIds() {
        return ids;
    }

    public SysTaskQuery setIds(List<Long> ids) {
        this.ids = ids;
        return this;
    }
}

